<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <script src="./js/app.js"></script> -->
    <script src="./a.js"></script>
</head>
<body>
    <!-- 需对commonjs代码进行语法转化->es5 -->
    <!-- 
        1. 下载browserify插件
            npm i browserify -g
        2. 编译 CommonJS
            找到指定文件夹执行以下命令
            browserify js/app.js -o dist/bundle.js
        3. 将编译好的文件导入到html文件中 
     -->
</body>
</html>